.layout {
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden;
}

.sider.light .logo {
  padding-left: 40px;
  min-width: 500px;

  a {
    .logo-img {
      width: 33px;
      height: 33px;
      background: url('~@/assets/logo.png') no-repeat;
      float: left;
      margin: 15px 10px 0 0;
      background-size: 100% 100%;
    }

    h1 {
      float: left;
      white-space: nowrap;
      line-height: 64px;
      font-size: 24px;
      color: #ffffff;
      font-weight: bold;

      & > i {
        position: relative;
        display: inline-block;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ffffff;
        margin: 0 10px;
        top: -3px;
      }

      & > span {
        font-size: 22px;
        font-weight: normal;
      }
    }
  }
}

.layout .header {
  height: 64px !important;
  line-height: 64px !important;
}

.layout .header,
.sider.light .logo {
  background: #3171ee !important;
}

.layout .header .user-wrapper {
  overflow: hidden;
}

.layout .header .user-wrapper .action,
.layout .top-nav-header-index .user-wrapper .action {
  padding: 0 25px !important;
}

.layout .header .user-wrapper .action .avatar {
  width: 40px;
  height: 40px;
  margin: 12px 10px 9px 0;
  float: left;
}

.layout .header .user-wrapper .user-info {
  float: left;
  font-size: 16px;
  line-height: 64px;
  // padding-top: 10px;
  text-align: CENTER;

  & > b {
    font-weight: normal;
    font-size: 12px;
  }
}

.user-dropdown-menu-wrapper.ant-dropdown-menu {
  .ant-dropdown-menu-item {
    width: auto;
  }
}

.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background-color: rgba(61, 127, 255, 0.1) !important;
}

.ant-menu-vertical .ant-menu-item::after,
.ant-menu-vertical-left .ant-menu-item::after,
.ant-menu-vertical-right .ant-menu-item::after,
.ant-menu-inline .ant-menu-item::after {
  border-right: 6px solid #3d7fff !important;
}

.ant-menu-submenu-selected,
.ant-menu-item-selected > a,
.ant-menu-item-selected > a:hover {
  color: #3d7fff !important;
}

.ant-layout.sidemenu .tab-layout-tabs.ant-tabs {
  border-left: none;
}

.ant-btn {
  margin-left: 0;
  margin-right: 10px;
}

.ant-btn-primary {
  background: #3171ee !important;
  color: #ffffff !important;
}

.ant-btn-primary.ant-btn-background-ghost {
  background: #3171ee !important;
  color: #ffffff !important;
}

.ant-btn-primary-disabled,
.ant-btn-primary.disabled,
.ant-btn-primary[disabled],
.ant-btn-primary-disabled:hover,
.ant-btn-primary.disabled:hover,
.ant-btn-primary[disabled]:hover,
.ant-btn-primary-disabled:focus,
.ant-btn-primary.disabled:focus,
.ant-btn-primary[disabled]:focus,
.ant-btn-primary-disabled:active,
.ant-btn-primary.disabled:active,
.ant-btn-primary[disabled]:active,
.ant-btn-primary-disabled.active,
.ant-btn-primary.disabled.active,
.ant-btn-primary[disabled].active {
  background-color: #f5f5f5 !important;
}

.ant-alert-info {
  background: #dbe7ff !important;
  border: 1px solid #3171ee !important;
}

.ant-table-pagination.ant-pagination {
  float: none !important;
  text-align: center !important;
  margin: 16px 0 0 0 !important;

  .ant-pagination-item,
  .ant-pagination-prev,
  .ant-pagination-next {
    background-color: #dddddd !important;
    border: 1px solid #dddddd !important;
    min-width: 30px !important;
    height: 30px !important;
    line-height: 28px !important;
    margin: 0 4px !important;

    &.ant-pagination-item-active {
      background-color: #3d7fff !important;

      & > a {
        color: #ffffff !important;
      }
    }
  }

  .ant-pagination-prev,
  .ant-pagination-next {
    background-color: #dddddd !important;
    border: 1px solid #dddddd !important;
  }

  .ant-select-sm .ant-select-selection--single {
    height: 30px !important;
    width: 90px;

    .ant-select-selection__rendered {
      line-height: 30px !important;
    }
  }

  .ant-pagination-options-quick-jumper {
    height: 30px !important;
    line-height: 30px !important;

    & > input {
      height: 30px !important;
    }
  }
}

.ant-card-body .table-operator {
  margin-bottom: 8px;

  .ant-btn {
    margin: 0 8px 8px 0;
  }
}

.ant-layout-sider-children {
  .ant-menu.ant-menu-inline.ant-menu-root {
    padding: 0px;
    height: calc(100% - 59px);
    overflow: auto;
  }
}

.ant-select-selection-selected-value {
  position: absolute;
}

.ant-table-thead > tr > th {
  background: #fbfafa;
  color: #898989;
  border-color: #dddddd;
}
.ant-table table {
  border-radius: 0%;
}
